package com.acmedcare.framework.exchange.center.repository;

import com.acmedcare.framework.exchange.center.common.exception.RepositoryException;
import com.acmedcare.framework.exchange.center.entity.bean.Account;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

public interface AccountRepository  extends BaseMapper<Account> {

  /**
   * Query {@link Account} by passport
   *
   * @param passport passport
   * @return a instance of {@link Account}
   * @throws RepositoryException repository exception
   */
  Account queryAccount(String passport) throws RepositoryException;
}
